#include "TreeBuilder.h"
#include "LTree.h"
#include "WorldObject.h"
#include <list>
#include <string>
#include <cstdio>
#include <iostream>

using namespace::std;

/*
int main(void) {
	char c;
	list<WorldObject*> trees = TreeBuilder::getTrees(0.0, 250.0, 0.0, 250.0);
	list<WorldObject*> trees2 = TreeBuilder::getTrees(0.0, 250.0, 0.0, 250.0);
	

	printf("trees size: %d\n", trees.size());
	printf("trees 2 size: %d\n", trees2.size());
	if(trees.size() != trees2.size()) {
		printf("ERROR: trees.size != trees2.size()");
	}

	list<WorldObject *>::iterator treesIter = trees.begin();
	list<WorldObject *>::iterator treesIter2 = trees2.begin();

	while( treesIter != trees.end() && treesIter2 != trees2.end() ) {
		printf("treesIter: %x	trees.end(): %x\n", treesIter, trees.end());
		cout << "In Trees:" << ((LTree*)(*treesIter))->toString() << "\n\n";
		cout << "In Trees2:" << ((LTree*)(*treesIter2))->toString() << "\n\n";

		treesIter++;
		treesIter2++;
	}
	
	scanf("%c", &c);
}
*/